all: filewrite fileread clientdemo1 serverdemo1

filewrite: filewrite.cpp
	g++ -o filewrite filewrite.cpp

fileread: fileread.cpp
	g++ -o fileread fileread.cpp

clientdemo1: clientdemo1.cpp
	g++ -o clientdemo1 clientdemo1.cpp

serverdemo1: serverdemo1.cpp
	g++ -o serverdemo1 serverdemo1.cpp

clean:
	rm -f filewrite
	rm -f fileread
	rm -f clientdemo1
	rm -f serverdemo1
